﻿using UnityEngine;
using System.Collections;

public class ClientBattleManager : SparkSingleton<ClientBattleManager>
{
    bool isPVE = false;
    public bool IsPVE
    {
        get
        {
            return isPVE;
        }
        set
        {
            isPVE = value;
        }
    }
    public void InitClientBattle()
    {
        Debug.Log("client battle manager init, time = " + Time.time);
    }
    void Awake()
    {
        if (instance == null)
        {
            DontDestroyOnLoad(this);
        }
        else
        {
            Destroy(this.cachedGameObject);
        }
    }
    void OnDestroy()
    {
        Debug.Log("client battle destroy");
    }
}
